﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EasyMvvm.Services
{
    public class WorkItem
    {
        public object Owner { get; private set; }
        public string Text { get; private set; }

        public WorkItem(object owner, string text)
        {
            this.Owner = owner;
            this.Text = text;
        }
    }
    interface IWorkDisplay
    {
        WorkItem StartWorkItem(object owner, string text);
        void StopWorkItem(WorkItem item);
    }
}
